module.exports = {
  get TIMESTAMP() {
    const app = getApp()
    return app ? app.globalData.timeStamp : undefined
  },
  TENANT_ID: 1,
  K_USER_TOKEN: 'user_token',
  K_TOKEN_EXPIRE: 'token_expire',
  K_USER_WXOPENID: 'user_wxopenid',
  K_WEBTOKEN: 'webToken',
  get IS_PROD() {
    const app = getApp()
    return !app || !app.globalData.webpackEnv
      ? process.env.NODE_ENV === 'production'
      : app.globalData.webpackEnv === 'production'
  },
}